<script type="text/javascript" charset="utf-8" src="{{.baseDir}}/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="{{.baseDir}}/ueditor/ueditor.all.min.js"> </script>
<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
<script type="text/javascript" charset="utf-8" src="{{.baseDir}}/ueditor/lang/zh-cn/zh-cn.js"></script>
<link href="{{.baseDir}}/ueditor/dialogs/attachment/attachment.css" rel="stylesheet">

<script>
    var currentUploaderMode = 1;
</script>
<style>
    .easy-uploader .cursor-select {
        cursor: pointer;
        user-select: none
    }

    .easy-uploader .btn {
        display: inline-block;
        margin-right: 10px;
        padding: 9px 15px;
        font-size: 12px;
        color: #409eff;
        border: 1px #409eff solid;
        border-radius: 3px;
        cursor: pointer;
        user-select: none
    }

    .easy-uploader .primary {
        color: #fff;
        background-color: #409eff;
        border: 0
    }

    .easy-uploader .danger {
        color: #fff;
        background-color: #f56c6c;
        border: 0
    }

    .easy-uploader .checkbox {
        display: inline-block;
        width: 16px;
        height: 16px;
        background-size: 16px 16px
    }

    .easy-uploader .unchecked {
        background-image: url()
    }

    .easy-uploader .checked {
        background-image: url()
    }

    .easy-uploader .btn-box {
        display: flex;
        align-items: center
    }

    .easy-uploader .list {
        list-style: none
    }

    i.file-preview {
        display: inline-block;
        float: left;
    }
    .easy-uploader .list-item {
        box-sizing: border-box;
        position: relative;
        padding: 0px 10px;
        height: 100px;
        margin-top: 10px;
        background-color: #fff;
        border: 1px solid #c0ccda;
        overflow: hidden
    }

    .easy-uploader .info {
        position: relative;
        margin-right: 40px;
        padding-left: 4px;
        margin-top: 35px;
        color: #606266
    }

    .easy-uploader .filename {
        margin-right: 40px;
        padding-left: 4px;
        line-height: 30px;
        color: #606266;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden
    }

    .easy-uploader .progress-wrapper {
        position: relative;
        height: 2px;
        background-color: #eee
    }

    .easy-uploader .progressbar {
        height: 100%;
        background-color: #409eff
    }

    .easy-uploader .progress-text {
        position: absolute;
        right: 0;
        top: 0;
        transform: translateY(-100%);
        font-size: 14px;
        line-height: 30px;
        color: #606266
    }

    .easy-uploader .delete-label {
        box-sizing: border-box;
        position: absolute;
        right: -17px;
        top: -7px;
        z-index: 0;
        padding-right: 12px;
        width: 46px;
        height: 26px;
        text-align: center;
        background-color: #13ce66;
        transform: rotate(45deg);
        box-shadow: 0 1px 1px #ccc
    }

    .easy-uploader .delete-icon {
        position: absolute;
        margin-top: 12px;
        font-size: 12px;
        color: #fff;
        text-align: center;
        transform: rotate(-45deg)
    }

    .easy-uploader .select-icon {
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%)
    }
    i.file-preview.file-type-jpg, i.file-preview.file-type-jpeg, i.file-preview.file-type-gif, i.file-preview.file-type-bmp, i.file-preview.file-type-png, i.file-preview.file-type-psd {
        background-position: -145px center;
    }
</style>